package net.wenku8.reader.state

import kotlinx.coroutines.flow.MutableStateFlow
import net.wenku8.reader.model.book.Chapter
import net.wenku8.reader.model.book.Volume

class StateReadOnline{

    companion object {
        val bookCaseRefresh : MutableStateFlow<Boolean> = MutableStateFlow(false)

        val bookId : MutableStateFlow<String> = MutableStateFlow("")
        val chapter : MutableStateFlow<Chapter> = MutableStateFlow(Chapter())
        val volumeList : MutableStateFlow<List<Volume>> = MutableStateFlow(ArrayList())
        val bookCaseList : MutableStateFlow<List<String>> = MutableStateFlow(ArrayList())
        val bookName : MutableStateFlow<String> = MutableStateFlow("")
        val reviewId : MutableStateFlow<String> = MutableStateFlow("")
        val reviewTitle : MutableStateFlow<String> = MutableStateFlow("")
    }
}